package com.menchao.carsales.service;

import com.menchao.carsales.common.http.ResponseData;
import com.menchao.carsales.pojo.Employee;
import com.menchao.carsales.vo.EmployeeQuery;
import org.springframework.web.servlet.function.ServerResponse;

/**
 * Porject: carsales
 * Date: 2021/7/22
 * Author: menchao
 * Description:
 */

public interface IEmployeeService {

    ResponseData addEmployee(Employee employee);

    ResponseData updateEmployee(Employee employee);

    ResponseData getList(EmployeeQuery employeeQuery);


    ResponseData deleteEmployee(Employee employee);


    ResponseData validPassword(Integer id, String validPass);

    ResponseData updatePassword(Integer id, String oldPass, String newPass);



}
